<?php
/**
 * Display template for featured posts
 */
?>
<!-- content-index.php -->
	<article id="post-<?php the_ID(); ?>" <?php post_class('sticky'); ?>>
		<header class="entry-header">
			<hgroup>
				<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'echotheme' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
				<h3 class="entry-format"><?php _e( '&iexcl; Featured Content !', 'echotheme' ); ?></h3>
			</hgroup>

		</header><!-- .entry-header -->

		<div class="entry-content">
			<?php 
			if (has_post_thumbnail()) {
				get_template_part('flexslider', 'gallery');
			}
			
			the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'echotheme' ) ); 
			?>
			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'echotheme' ) . '</span>', 'after' => '</div>' ) ); ?>
		</div><!-- .entry-content -->

		<div class="clear"></div>
	</article><!-- #post-<?php the_ID(); ?> -->
